<template>
  <view class="index-page">
  <titlebar title="AAG"/>
    <u-grid :col="2">
      <u-grid-item @click="goto(`/pages/driverInformation/vehicleRegistrationInput`)">
        <u-icon name="edit-pen-fill" :size="46"></u-icon>
        <view class="grid-text">输入</view>
      </u-grid-item>
      <u-grid-item  @click="goto(`/pages/driverInformation/list`)">
        <u-icon name="list" :size="46"></u-icon>
        <view class="grid-text">查看列表</view>
      </u-grid-item>
    </u-grid>
    <u-no-network></u-no-network>
  </view>
</template>

<script setup lang="ts">
import { reactive } from 'vue'
import titlebar from '@/components/common/title-bar.vue'
import { useStore } from '@/store'
// 获取自定义的store
const store = useStore()
store.getInfo()
const goto=(url: string)=>{
  uni.navigateTo({ url: url });
}
</script>

<style scoped>
.index-page {
  font-style: normal;
  text-align: center;
}

.h2 {
  color: green;
  font-size: 50rpx;
}

navigator {
  color: #1e80ff;
}
</style>
